package com.guage.producter.mapper;

import com.guage.producter.domain.Students;
import com.guage.producter.domain.StudentsExample;
import com.guage.producter.domain.StudentsKey;
import com.pad.dpscn.daag.sdk.core.annotation.DataMapperIntercept;

import java.util.List;
import org.apache.ibatis.annotations.Param;
@DataMapperIntercept(pk = {
		@DataMapperIntercept.PrimaryKeyField(propertyName = "studentId", columnName = "STUDENT_ID"),
		@DataMapperIntercept.PrimaryKeyField(propertyName = "courseId", columnName = "COURSE_ID") }, tableName = "STUDENTS", operation = {
				DataMapperIntercept.Operation.INSERT, DataMapperIntercept.Operation.UPDATE,
				DataMapperIntercept.Operation.DELETE })
public interface StudentsMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STUDENTS
     *
     * @mbg.generated Thu Mar 21 14:29:37 CST 2024
     */
    long countByExample(StudentsExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STUDENTS
     *
     * @mbg.generated Thu Mar 21 14:29:37 CST 2024
     */
    int deleteByExample(StudentsExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STUDENTS
     *
     * @mbg.generated Thu Mar 21 14:29:37 CST 2024
     */
    int deleteByPrimaryKey(StudentsKey key);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STUDENTS
     *
     * @mbg.generated Thu Mar 21 14:29:37 CST 2024
     */
    int insert(Students record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STUDENTS
     *
     * @mbg.generated Thu Mar 21 14:29:37 CST 2024
     */
    int insertSelective(Students record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STUDENTS
     *
     * @mbg.generated Thu Mar 21 14:29:37 CST 2024
     */
    List<Students> selectByExample(StudentsExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STUDENTS
     *
     * @mbg.generated Thu Mar 21 14:29:37 CST 2024
     */
    Students selectByPrimaryKey(StudentsKey key);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STUDENTS
     *
     * @mbg.generated Thu Mar 21 14:29:37 CST 2024
     */
    int updateByExampleSelective(@Param("record") Students record, @Param("example") StudentsExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STUDENTS
     *
     * @mbg.generated Thu Mar 21 14:29:37 CST 2024
     */
    int updateByExample(@Param("record") Students record, @Param("example") StudentsExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STUDENTS
     *
     * @mbg.generated Thu Mar 21 14:29:37 CST 2024
     */
    int updateByPrimaryKeySelective(Students record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STUDENTS
     *
     * @mbg.generated Thu Mar 21 14:29:37 CST 2024
     */
    int updateByPrimaryKey(Students record);
}